package com.xebest.web.form;

import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;


/**
 * @author 杜春静
 */
public class XeVenStoreAllotDetailForm {
    /**
     * 商品主图
     */
    private String proMainImg;

    /**
     * 商品名称
     */
    @NotNull(message = "商品名称不能为空")
    @NotEmpty(message = "商品名称不能为空")
    private String proName;

    /**
     * 商品sku
     */
    @NotNull(message = "商品sku不能为空")
    @NotEmpty(message = "商品sku不能为空")
    private String proSku;

    /**
     * 商品code
     */
    private String proSpu;

    /**
     * 商品分类
     */
    private String proCategoryId;

    /**
     * 商品分类名称
     */
    private String proCategoryName;

    /**
     * 规格值
     */
    @NotNull(message = "商品规格不能为空")
    @NotEmpty(message = "商品规格不能为空")
    private String proSpecValue;

    /**
     * 单位
     */

    private String proUnit;

    /**
     * 计价方式 1:重量 2:数量
     */
    @NotNull(message = "计价方式不能为空")
    private Integer pricingType;

    /**
     * 商品货号
     */
    @NotNull(message = "商品货号不能为空")
    @NotEmpty(message = "商品货号不能为空")
    private String proNum;

    /**
     * 调拨数量
     */
    @NotNull(message = "调拨数量不能为空")
    private BigDecimal allotNums;

    /**
     * 进货价
     */
    @NotNull(message = "进货价不能为空")
    private BigDecimal proPrice;

    /**
     * 调拨金额
     */

    private BigDecimal allotAmount;

    /**
     * 实际库存
     */
    private BigDecimal actualInv;

    /**
     * 可用库存
     */
    private BigDecimal usableInv;


    /**
     * @return the proMainImg
     */

    public String getProMainImg() {

        return proMainImg;
    }

    /**
     * @param proMainImg the proMainImg to set
     */

    public void setProMainImg(String proMainImg) {

        this.proMainImg = proMainImg;
    }

    /**
     * @return the proName
     */

    public String getProName() {

        return proName;
    }

    /**
     * @param proName the proName to set
     */

    public void setProName(String proName) {

        this.proName = proName;
    }

    /**
     * @return the proSku
     */

    public String getProSku() {

        return proSku;
    }

    /**
     * @param proSku the proSku to set
     */

    public void setProSku(String proSku) {

        this.proSku = proSku;
    }

    /**
     * @return the proSpu
     */

    public String getProSpu() {

        return proSpu;
    }

    /**
     * @param proSpu the proSpu to set
     */

    public void setProSpu(String proSpu) {

        this.proSpu = proSpu;
    }

    /**
     * @return the proCategoryId
     */

    public String getProCategoryId() {

        return proCategoryId;
    }

    /**
     * @param proCategoryId the proCategoryId to set
     */

    public void setProCategoryId(String proCategoryId) {

        this.proCategoryId = proCategoryId;
    }

    /**
     * @return the proCategoryName
     */

    public String getProCategoryName() {

        return proCategoryName;
    }

    /**
     * @param proCategoryName the proCategoryName to set
     */

    public void setProCategoryName(String proCategoryName) {

        this.proCategoryName = proCategoryName;
    }

    /**
     * @return the proSpecValue
     */

    public String getProSpecValue() {

        return proSpecValue;
    }

    /**
     * @param proSpecValue the proSpecValue to set
     */

    public void setProSpecValue(String proSpecValue) {

        this.proSpecValue = proSpecValue;
    }

    /**
     * @return the proUnit
     */

    public String getProUnit() {

        return proUnit;
    }

    /**
     * @param proUnit the proUnit to set
     */

    public void setProUnit(String proUnit) {

        this.proUnit = proUnit;
    }

    /**
     * @return the pricingType
     */

    public Integer getPricingType() {

        return pricingType;
    }

    /**
     * @param pricingType the pricingType to set
     */

    public void setPricingType(Integer pricingType) {

        this.pricingType = pricingType;
    }

    /**
     * @return the proNum
     */

    public String getProNum() {

        return proNum;
    }

    /**
     * @param proNum the proNum to set
     */

    public void setProNum(String proNum) {

        this.proNum = proNum;
    }

    /**
     * @return the allotNums
     */

    public BigDecimal getAllotNums() {

        return allotNums;
    }

    /**
     * @param allotNums the allotNums to set
     */

    public void setAllotNums(BigDecimal allotNums) {

        this.allotNums = allotNums;
    }

    /**
     * @return the proPrice
     */

    public BigDecimal getProPrice() {

        return proPrice;
    }

    /**
     * @param proPrice the proPrice to set
     */

    public void setProPrice(BigDecimal proPrice) {

        this.proPrice = proPrice;
    }

    /**
     * @return the allotAmount
     */

    public BigDecimal getAllotAmount() {

        return allotAmount;
    }

    /**
     * @param allotAmount the allotAmount to set
     */

    public void setAllotAmount(BigDecimal allotAmount) {

        this.allotAmount = allotAmount;
    }

    /**
     * @return the actualInv
     */

    public BigDecimal getActualInv() {

        return actualInv;
    }

    /**
     * @param actualInv the actualInv to set
     */

    public void setActualInv(BigDecimal actualInv) {

        this.actualInv = actualInv;
    }

    /**
     * @return the usableInv
     */

    public BigDecimal getUsableInv() {

        return usableInv;
    }

    /**
     * @param usableInv the usableInv to set
     */

    public void setUsableInv(BigDecimal usableInv) {

        this.usableInv = usableInv;
    }


}
  
